package homework02;

import java.util.Objects;

public abstract class Animal {
    private String name;
    public abstract String makeSound();

    public Animal(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
